package service;

import Dao.FitnessEquipmentDao;
import entity.FitnessEquipment;

import java.util.List;

public class FitnessEquipmentService {

    private FitnessEquipmentDao dao = new FitnessEquipmentDao();

    public List<FitnessEquipment> queryAllFitnessEquipments() {
        return dao.queryAllFitnessEquipments();
    }

    public boolean addFitnessEquipment(FitnessEquipment FitnessEquipment) {
        return dao.addFitnessEquipment(FitnessEquipment);
    }

    public boolean deleteFitnessEquipment(int id) {
        return dao.deleteFitnessEquipment(id);
    }
}
